package utn.frsf.gabinete.fw.generator;

import utn.frsf.gabinete.fw.generator.html.Html5ElementRango;
import utn.frsf.gabinete.fw.generator.html.Html5FormElement;

public class InputRango extends Input{

	private int min;
	private int max;
	
	public InputRango() {
		 this.tipoElemento= new Html5ElementRango(this);
		this.max=100;
		this.min = 0;
	}
	
	public InputRango(String id) {
		this();
		this.id=id;
		this.etiqueta = id;
	}
	
	public InputRango (String id,Html5FormElement tipo){
		this(id);
		this.tipoElemento = tipo;
	}
	
	public int getMin() {
		return min;
	}
	public void setMin(int min) {
		this.min = min;
	}
	public int getMax() {
		return max;
	}
	public void setMax(int max) {
		this.max = max;
	}
	
	
}
